package com.example.videoproject.utils;

/**
 * 状态码
 * 尾值是1表示成功，是0表示失败
 */

public class Code {
    public static final Integer INSERT_OK=20011;  //插入成功
    public static final Integer DELETE_OK=20021;  //删除成功
    public static final Integer UPDATE_OK=20031;  //更新成功
    public static final Integer SELECT_OK=20041;  //查询成功


    public static final Integer INSERT_ERR=20010; //插入失败
    public static final Integer DELETE_ERR=20020; //删除失败
    public static final Integer UPDATE_ERR=20030; //更新失败
    public static final Integer SELECT_ERR=20040; //查询失败

    public static final Integer SYSTEM_ERR=50001;         //系统异常
    public static final Integer SYSTEM_TIMEOUT_ERR=50002; //系统超时
    public static final Integer SYSTEM_UNKNOW_ERR=59999;  //系统未知异常

    public static final Integer BUSINESS_ERR=60001;       //业务异常





}
